﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
    if (Request.IsAuthenticated)
    {
%>
Velkomin/n <b>
    <%: Page.User.Identity.Name %></b>! [
<%: Html.ActionLink("Skrá út", "LogOff", "Account") %>
]
<%
    }
    else
    {
%>
<%: Html.ActionLink("Innskráning", "LogOn", "Account") %>
|
<%: Html.ActionLink("Nýskráning","Register","Account") %>
<%
    }
%>